//
//  NSString+WNTimer.h
//  iOSOCProjectDirectory
//
//  Created by BHmac on 2017/6/9.
//  Copyright © 2017年 XieXuan. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger , WeekType){
    
    WeekTypeName ,//函星期
    WeekTypeLetter ,//不含星期
    
    
};

@interface NSString (WNTimer)

+ (NSString *)getCurrentTimeWithType:(NSString *)type;//获取当前日期


/**
 根据当前日期加天数 返回星期
 
 @param num 增加天数
 @param type 返回星期的类型
 @return 返回星期名
 */
+ (NSString *)featureWeekdayWithDate:(NSInteger)num  withWeekType:(WeekType)type;
+ (NSString *)getWeekTime:(int)dayNum;
+ (NSString *)getWeekDayTime:(NSString *)str;

@end
